Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert BlobSidecarsByRoot/Range version to v1 #14785

Merged
merged 3 commits into from
Jan 13, 2025

Conversation

terencechain
Copy link
Member

@terencechain terencechain requested a review from a team as a code owner January 9, 2025 16:57
@terencechain terencechain force-pushed the update-blob-rpc-topics branch 3 times, most recently from 596c9ee to e9e09ad Compare January 9, 2025 17:26
@@ -47,8 +47,8 @@ func (s *Service) rpcHandlerByTopicFromFork(forkIndex int) (map[string]rpcHandle
p2p.RPCBlocksByRootTopicV2: s.beaconBlocksRootRPCHandler,
p2p.RPCPingTopicV1: s.pingHandler,
p2p.RPCMetaDataTopicV2: s.metaDataHandler,
p2p.RPCBlobSidecarsByRootTopicV2: s.blobSidecarByRootRPCHandler, // Modified in Electra
p2p.RPCBlobSidecarsByRangeTopicV2: s.blobSidecarsByRangeRPCHandler, // Modified in Electra
p2p.RPCBlobSidecarsByRootTopicV1: s.blobSidecarByRootRPCHandler, // Modified in Electra
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So it's not modified in electra anymore right? (the comment)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is modified in electra, but it's reusing the same handler now, if the time/fork is after electra, we apply a different max blobs per request limit

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK I see your point.

I added this commit to clarify the situation.

Let me copy here the commit message:

RPC handler comments: Use "Added", "Modified" and "Upgraded".

- Added: No message with this message name was previously existing.
- Upgraded: A message with this message name was existing in the previous fork, but the schema version is upgraded in the current fork.
- Modified: The couple message name, schema version is the same than in the previous fork, but the implementation of the handler is modified in the current fork.

@terencechain terencechain force-pushed the update-blob-rpc-topics branch from e9e09ad to ecee70d Compare January 9, 2025 17:40
terencechain and others added 3 commits January 12, 2025 13:23
- Added: No message with this message name was previously existing.
- Upgraded: A message with this message name was existing in the previous fork, but the schema version is upgraded in the current fork.
- Modified: The couple message name, schema version is the same than in the previous fork, but the implementation of the handler is modified in the current fork.
@terencechain terencechain added this pull request to the merge queue Jan 13, 2025
Merged via the queue into develop with commit e577bb0 Jan 13, 2025
15 checks passed
@terencechain terencechain deleted the update-blob-rpc-topics branch January 13, 2025 17:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants